use_frameworks!
platform :ios, ‘8.0’

target 'SLQuickReader' do
  pod 'Then', '~> 2.1.0'
  pod 'RxSwift', '~> 3.6.0'
  pod 'RxCocoa', '~> 3.6.0'
  pod 'Alamofire', '~> 4.5.0'
  pod 'RxDataSources', '~> 1.0.4'
  pod 'Kingfisher', '~> 3.10.3'
  pod 'Moya/RxSwift', '~> 8.0.5'
  pod 'ObjectMapper', '~> 2.2.8'
  pod 'SwiftyJSON', '~> 3.1.4'
  pod 'SnapKit', '~> 3.2.0'
  pod 'MJRefresh', '~> 3.1.12'
end


post_install do |installer|
    installer.pods_project.targets.each do |target|
        if target.name == 'RxSwift'
            target.build_configurations.each do |config|
                if config.name == 'Debug'
                    # 自动在RxSwift->Debug模式下添加TRACE_RESOURCES
                    config.build_settings['OTHER_SWIFT_FLAGS'] ||= ['-D', 'TRACE_RESOURCES']
                end
            end
        end
    end
end
